﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExtBusiness.FlowOperation;

public partial class MyWindow_ChgDtyt : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ddlDtyt.DefaultText = Request["dtyt"];
        }
    }

    protected void btnOk_Click(object sender, EventArgs e)
    {
        RequestFlowOperation rfoTemp = new RequestFlowOperation();
        rfoTemp.UpdateDtyt(Request["iid"], ddlDtyt.Text);

        string strScript = "window.opener.location.href = window.opener.location.href;window.close();";
        Common.WindowAppear.ExecuteScript(this.Page, strScript);
    }
}